import { Meta } from '@storybook/blocks';
import YouTubeVideoPlayer from '@/components/YouTubeVideoPlayer';
import * as TableStories from '../stories/Table.stories';

<Meta of={TableStories} />

# Table

A widget that uses the table layout algorithm for its children.

<YouTubeVideoPlayer videoId="_lbE0wsVZSw" />

## Example

```dart liveslice=Table
Table(
  children: const <TableRow>[
    TableRow(
      children: <Widget>[
        Text('AAAAAA'), Text('B'), Text('C'),
      ],
    ),
    TableRow(
      children: <Widget>[
        Text('D'), Text('EEE'), Text('F'),
      ],
    ),
    TableRow(
      children: <Widget>[
        Text('G'), Text('H'), Text('III'),
      ],
    ),
  ],
)
```

## Related Links

- https://api.flutter.dev/flutter/widgets/Table-class.html
- https://youtu.be/_lbE0wsVZSw
